#ifndef PHYSystem_h__
#define PHYSystem_h__

#include "../infLib/infLib.h"
class btRigidBody;
class PhySystem {
public:

	virtual bool			Init() = 0;
	virtual void			Shutdown() = 0;
	virtual bool			IsInitialized() const = 0;

	virtual bool			Addbox( inf::Vec3 & size, inf::Vec3 pos ,float mass)   = 0;

	virtual btRigidBody* 	AddStaticMesh(void* memoryBuffer, const inf::Vec3 & size,const  inf::Vec3 & pos ,const inf::Quat & qua, float mass)   = 0;

	virtual void			Updata(float time)   = 0;

};

extern PhySystem* phySystem;
 
#endif // PHYSystem_h__